---@diagnostic disable: undefined-global
local prefab_id = 'cookpot'
local mid = '_skin_'

local _xml = GetInventoryItemAtlas('cookpot.tex') or "images/inventoryimages1.xml"
WEBBER_THE_TRAINER_API.MakeItemSkinDefaultImage(prefab_id, _xml, prefab_id)

local suffix = 'witch'
table.insert(Assets,Asset("ANIM","anim/"..prefab_id..mid..suffix..".zip"))
table.insert(Assets,Asset("ATLAS","images/inventoryimages/"..prefab_id..mid..suffix..".xml"))
WEBBER_THE_TRAINER_API.MakeItemSkin(prefab_id,prefab_id..mid..suffix,{
    name = STRINGS.MOD_WEBBER_THE_TRAINER.SKIN_API.SKINS[prefab_id][suffix],
    rarity = STRINGS.MOD_WEBBER_THE_TRAINER.SKIN_API.rare.cool,
    raritycorlor = TUNING.MOD_WEBBER_THE_TRAINER.SKIN_API.rare.cool,
    atlas = "images/inventoryimages/"..prefab_id..mid..suffix..".xml",
    image = prefab_id..mid..suffix,
    build = prefab_id..mid..suffix,
    bank =  'cook_pot',
    anim = "idle_empty",
    animcircle = true,
    basebuild = 'cook_pot',
    basebank =  'cook_pot',
    baseanim = "idle_empty",
    baseanimcircle = true
})
